#include <stdio.h>
#include "mystdio.h"
#include "mymath.h"
#include <string.h>

int main()
{
    int a = 20;
    int b = 30;

    printf("%d + %d = %d\n", a, b, myAdd(a, b));

    myFILE* fp = my_fopen("./myfile.txt", "w");
    if(fp == NULL) return 1;
    

    const char* tmp = "I am cc\n";

    my_fwrite(fp, tmp, strlen(tmp));

    my_fclose(fp);

    return 0;
}

